import React from 'react';
import {BrowserRouter} from 'react-router-dom';
import {I18nProvider} from './i18n/I18nProvider';
import {ThemeProvider} from './theme/ThemeProvider';
import AppRoutes from './routes';

const App: React.FC = () => {
  return (
    <BrowserRouter>
      <I18nProvider>
        <ThemeProvider>
          <AppRoutes/>
        </ThemeProvider>
      </I18nProvider>
    </BrowserRouter>
  );
};

export default App;
